package com.wedo.mall.entity;

import java.io.Serializable;

/**
 * Created by Lawrence on 2017/8/10.
 */

public class OrderData implements Serializable {

    /**
     * user_id : 44
     * order_sn : 1708090000008693
     * consignee :
     * telephone :
     * province :
     * city :
     * county :
     * address :
     * giving_point : 2333.00
     * total : 1.00
     * status : 0
     * add_time : 1502289396
     * pay_time : 0
     */

    public String user_id;
    public String order_sn;
    public String consignee;
    public String telephone;
    public String province;
    public String city;
    public String county;
    public String address;
    public String giving_point;
    public String total;
    public String status;
    public String add_time;
    public String pay_time;
    public String remark;

    public int pay_method;

    public boolean offline() {
        return pay_method == 1;
    }

    public boolean online() {
        return pay_method == 0;
    }

}
